<?php
namespace app\shop\validate;

use think\Validate;

/**
 * 艺术品验证器
 */
class Artwork extends Validate
{
    //定义验证规则
    protected $rule = [
        'title|艺术品名称' => 'require',
    ];

    //定义验证提示
    protected $message = [
        'title.require' => '艺术品名称必须填写',
    ];
}
